import Banner from "@/components/Banner/Index.vue";
import CTitle from "@/components/CTitle/Index.vue";
import C1 from "../C1.vue";
import C2 from "../C2.vue";
import C3 from "../C3.vue";
import C4 from "../C4.vue";
import C5 from "../C5.vue";
export default {
    name: "Course",
    data() {
        return {
            active: 0
        }
    },
    created() {
        this.active = parseInt(this.$route.query.type) || 0;
    },
    methods: {
        onTabsClick() {
            this.$router.replace({
                path: "/course",
                query: {
                    type: this.active
                }
            })
        }
    },
    components: {
        CTitle, Banner, C1, C2, C3, C4, C5
    }
}